package com.tcm.order.entity;


import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 发票信息
 * 
 * @author biuco
 *
 */
public class Invoice implements Serializable {

	private static final long serialVersionUID = 6043345179943339067L;

	protected Long id;
	/**
	 * 用户id
	 */
	protected Long userId;

	/**
	 * 订单id
	 */
	protected Long orderId;

	/**
	 * 发票类型；普通发票:NORMAL
	 * 增值税发票:VAT
	 */
	protected String invoiceType;

	/**
	 * 开发票方式；开票方式:纸质发票PAPER,
	 * 电子发票:ELECTRONIC
	 */
	private String invoicingMethod;

	/**
	 * 发票抬头
	 */
	protected String title;

	/**
	 * 发票抬头类型；个人:P
	 * 公司:C
	 */
	protected String titleType;

	/**
	 * 发票内容
	 */
	protected String content;

	/**
	 * 开票电话
	 */
	protected String phone;

	/**
	 * 租户id
	 */
	protected Long tenantId;

	/**
	 * 创建时间
	 */
	protected Timestamp createTime;

	/**
	 * 更新时间
	 */
	protected Timestamp updateTime;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public String getInvoiceType() {
		return invoiceType;
	}

	public void setInvoiceType(String invoiceType) {
		this.invoiceType = invoiceType;
	}

	public String getInvoicingMethod() {
		return invoicingMethod;
	}

	public void setInvoicingMethod(String invoicingMethod) {
		this.invoicingMethod = invoicingMethod;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitleType() {
		return titleType;
	}

	public void setTitleType(String titleType) {
		this.titleType = titleType;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Long getTenantId() {
		return tenantId;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
}
